package org.cid54.jshopper.controller.csv.util;

import org.cid54.jshopper.service.UserAndGroupService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 *
 * @author fgo
 */
@Component
public class GuidChecker {

    @Autowired
    private UserAndGroupService userAndGroupService;

    public boolean checkGuid(String guid){
        
        return this.userAndGroupService.getUserByMobileGuid(guid) != null;
        
    }

}
